﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Repository.Models {
	/// <summary>
	/// 选项
	/// </summary>
	[Table("Choice")]
	public class Choice {
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		public Guid Id { get; set; }
		public int Index { get; set; }
		//public bool IsChecked { get; set; } = false;
		public string Description { get; set; } = "Choice Description";
		public int FillNumber { get; set; }

		[ForeignKey(nameof(Question))]
		public Guid? QuestionId { get; set; }

	}
}
